package cn.yuxiaoyuan.mapper.base;


import java.util.List;

/**
 * @author solargen
 * @version 1.0
 * @date 2025/5/19 10:13
 */
public interface BaseMapper<T> {
    T findById(Long id);

    List<T> findAll();

    void add(T t);

    void update(T t);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);
}
